﻿using System;
using System.Collections.Generic;
using System.Text;
using AgencyManagerSystem.Model;
using AgencyManagerSystem.DataUpdater;
using AgencyManagerSystem.Common;
using AgencyManagerSystem.DataFetcher;

namespace AgencyManagerSystem.Core
{
    public class CustPriceUpdaterCreator : BaseUpdaterCreator<CustPriceModel>
    {
        public CustPriceUpdater CreateCustPriceUpdaterInstance()
        {
            CustPriceUpdater cpUpdater = new CustPriceUpdater(new CustPriceFetcher());
            cpUpdater.DataUpdating += FlagAndApproveFlagValid;
            return cpUpdater;
        }
    }
}
